package com.trip.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;


import java.io.Serializable;

/**
 * 司机行为分数管理对象 driver_score
 *
 * @author trip
 * @date 2024-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("driver_score")
public class DriverScore implements Serializable{
private static final long serialVersionUID = 1L;

    /** 司机分数id */
        @TableId(value = "driver_score_id" ,type = IdType.AUTO)
        private Long driverScoreId;

    /** 司机id */
        private Long driverId;

    /** 司机分数 */
        private Integer driverScore;

    /** 状态（0正常 1停用） */
        private String status;

    /** 删除标志（0代表存在 2代表删除） */
        @TableLogic
        private String delFlag;
        }


